package com.example.wlzz.repository.mongoRepository;

import com.example.wlzz.entity.mongoEntity.LoveTask;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface LoveTaskRepository extends MongoRepository<LoveTask,String> {
    LoveTask findByTaskIdAndUserid(String taskId,int userid);
  //  Page<LoveTask> findBy(int userid, Pageable pageable);
}

